<template>
  <tm-app>
    <tm-navbar title="加入合伙人" :followTheme="true" :hideHome="true">
    </tm-navbar>

    <tm-card
      :margin="[20, 20, 20, 0]"
      :title="item.sysRemark"
      :shadow="0"
      v-for="item in state.list"
      :key="item.id"
      :content="item.sysValue"
    >
    </tm-card>
    <view class="fixed b-n10 a-n5 fulled">
      <tm-button
        :round="24"
        :margin="[24, 0]"
        label="联系客服"
        :block="true"
        openType="contact"
      ></tm-button>
    </view>
  </tm-app>
</template>

<script setup>
import { onLoad } from "@dcloudio/uni-app";
import { reactive, computed } from "vue";
import { getSysHHRIntroduceApi } from "@/api";
const state = reactive({
  type: 1,
  list: [],
});

onLoad(({ type }) => {
  state.type = type;
  getCooperation();
});

const getCooperation = async () => {
  state.list = await getSysHHRIntroduceApi();
};
</script>
